<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>gui2py: Fichero Fuente build/lib.linux-x86_64-2.7/gui/flowsizer.py</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../edit.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gui2py
   &#160;<span id="projectnumber">0.9.3</span>
   </div>
   <div id="projectbrief">Interfaz de desarrollo de aplicaciones graficas</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../namespaces.html"><span>Paquetes</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Propiedades</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">flowsizer.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html">    1</a></span>&#160;<span class="comment">#----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"># Name:         flowsizer.py</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"># Purpose:      Implements a Flow Sizer</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">#</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"># Author:       Peter Damoc (peter at gmail.com)</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">#               </span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"># Created:      January 2006</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"># Version:      0.1 </span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"># Licence:      wxWindows license</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">import</span> wx</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html">   13</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html">FlowSizer</a>(wx.PySizer):</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ab7a365cc5b32225e38679f6a6dbbdd1f">   14</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ab7a365cc5b32225e38679f6a6dbbdd1f">__init__</a>(self, minHSpace=0, minVSpace=0):        </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        wx.PySizer.__init__(self)</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">   16</a></span>&#160;        self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">snp</a> = []</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ae0ece5001798c6efe82b5c20e4bae168">   17</a></span>&#160;        self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ae0ece5001798c6efe82b5c20e4bae168">minHSpace</a> = minHSpace</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">   18</a></span>&#160;        self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">minVSpace</a> = minVSpace</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a15ff9f7bdc89f91339983daac58876a5">   20</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a15ff9f7bdc89f91339983daac58876a5">_calcSizeAndPos</a>(self):</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        w, h = self.GetSize()</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">snp</a> = []</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        currentRow = [0,0]</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        self.snp.append(currentRow)</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        items = self.GetChildren()</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <span class="keywordflow">for</span> item <span class="keywordflow">in</span> items:</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;            mw, mh = item.CalcMin()</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;                </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;            <span class="keywordflow">if</span> currentRow[0]+mw+self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ae0ece5001798c6efe82b5c20e4bae168">minHSpace</a>*len(currentRow) &gt;= w:</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;                currentRow = [0,0]</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;                self.snp.append(currentRow)</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            currentRow[1] = max(currentRow[1], mh)</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;            currentRow[0] += mw</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;            currentRow.append(item)</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a48a4b0a54f0ca60e55acdc6ee81f2234">   36</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a48a4b0a54f0ca60e55acdc6ee81f2234">CalcMin</a>(self):</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        w, h = self.GetSize()</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        w, h = w-20, h-20</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        items = self.GetChildren()</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordflow">if</span> <span class="keywordflow">not</span> items:</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            <span class="keywordflow">return</span> wx.Size(10, 10)</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a15ff9f7bdc89f91339983daac58876a5">_calcSizeAndPos</a>()</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        minW = 0</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keywordflow">for</span> item <span class="keywordflow">in</span> items:</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            wi, hi = item.CalcMin()</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            minW = max(minW, wi)</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        minH = reduce(<span class="keyword">lambda</span> x, y: x+y+self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">minVSpace</a>, [r[1] <span class="keywordflow">for</span> r <span class="keywordflow">in</span> self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">snp</a>], 2*self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">minVSpace</a>)</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordflow">return</span> wx.Size(minW+2*self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ae0ece5001798c6efe82b5c20e4bae168">minHSpace</a>, minH)</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#af8677638dedf61f644ef9db2a8f81ffb">   51</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#af8677638dedf61f644ef9db2a8f81ffb">RecalcSizes</a>(self):</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        curWidth, curHeight  = self.GetSize()</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        px, py = self.GetPosition()</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        ph = self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">minVSpace</a></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keywordflow">for</span> row <span class="keywordflow">in</span> self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">snp</a>:</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            aw, ah, items = row[0], row[1], row[2:]</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            offw = (curWidth-aw)/(len(items)+1)</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            pw = offw            </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <span class="keywordflow">for</span> item <span class="keywordflow">in</span> items:</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                w, h = item.GetMinSize()</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a741d34d437af73fef0945719234895de">SetItemBounds</a>(item, px+pw, py+ph, w, h)</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                pw +=w+offw</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            ph += ah+self.<a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">minVSpace</a></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a741d34d437af73fef0945719234895de">   65</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a741d34d437af73fef0945719234895de">SetItemBounds</a>(self, item, x, y, w, h):</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        ipt = wx.Point(x, y)</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        isz = item.CalcMin()</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        item.SetDimension(ipt, isz)</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keywordflow">if</span> __name__ == <span class="stringliteral">&quot;__main__&quot;</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="stringliteral">&#39;&#39;&#39; </span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="stringliteral">    Test code</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="stringliteral">    &#39;&#39;&#39;</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html">   74</a></span>&#160;    <span class="keyword">class </span><a class="code" href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html">ColorPanel</a>(wx.Window):</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html#a08264627eca3dbc9942c996788d04b7c">   75</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html#a08264627eca3dbc9942c996788d04b7c">__init__</a>(self, parent, color):</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            wx.Window.__init__(self, parent)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            self.SetBackgroundColour(color)</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            self.SetSize((50,50))</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    app = wx.App(0)</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html#a6264c78aaf3fd999d959ba1c2a06d80c">   81</a></span>&#160;    frame = wx.Frame(<span class="keywordtype">None</span>, title=<span class="stringliteral">&quot;FlowSizer Test&quot;</span>)</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keyword">import</span>  wx.lib.scrolledpanel <span class="keyword">as</span> scrolled</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html#a2894abf6b0552d0d71977c8ccca58e03">   83</a></span>&#160;    scroll = scrolled.ScrolledPanel(frame)</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html#a9f49b16c9635eed9175475ed74ec256f">   84</a></span>&#160;    sizer = <a class="code" href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html">FlowSizer</a>(5, 5)</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    scroll.SetSizer(sizer)</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    scroll.SetAutoLayout(1)</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    scroll.SetupScrolling()    </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">for</span> w <span class="keywordflow">in</span> range(20):</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html#ab09797783fe5e0e6a12537b96063000d">   89</a></span>&#160;        cp = <a class="code" href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html">ColorPanel</a>(scroll, <span class="stringliteral">&quot;red&quot;</span>)</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        sizer.Add(cp)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        sizer.Add(wx.Button(scroll, label=<span class="stringliteral">&quot;A Button&quot;</span>))</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../d4/db9/namespacegui_1_1flowsizer.html#a6250b12a6e5fe4a9d3b059aa1ef28877">   93</a></span>&#160;    s2 = wx.BoxSizer()</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    s2.Add(scroll, 1, wx.EXPAND)</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    frame.SetSizer(s2)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    frame.Show()</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    app.MainLoop()</div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_a799d8a194c868d6782a77f2e0edce286"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a799d8a194c868d6782a77f2e0edce286">gui.flowsizer.FlowSizer.snp</a></div><div class="ttdeci">snp</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00016">flowsizer.py:16</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html">gui.flowsizer.FlowSizer</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00013">flowsizer.py:13</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_ab7a365cc5b32225e38679f6a6dbbdd1f"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ab7a365cc5b32225e38679f6a6dbbdd1f">gui.flowsizer.FlowSizer.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00014">flowsizer.py:14</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_a48a4b0a54f0ca60e55acdc6ee81f2234"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a48a4b0a54f0ca60e55acdc6ee81f2234">gui.flowsizer.FlowSizer.CalcMin</a></div><div class="ttdeci">def CalcMin</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00036">flowsizer.py:36</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1ColorPanel_html"><div class="ttname"><a href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html">gui.flowsizer.ColorPanel</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00074">flowsizer.py:74</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_ae0ece5001798c6efe82b5c20e4bae168"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#ae0ece5001798c6efe82b5c20e4bae168">gui.flowsizer.FlowSizer.minHSpace</a></div><div class="ttdeci">minHSpace</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00017">flowsizer.py:17</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_af8677638dedf61f644ef9db2a8f81ffb"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#af8677638dedf61f644ef9db2a8f81ffb">gui.flowsizer.FlowSizer.RecalcSizes</a></div><div class="ttdeci">def RecalcSizes</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00051">flowsizer.py:51</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_a741d34d437af73fef0945719234895de"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a741d34d437af73fef0945719234895de">gui.flowsizer.FlowSizer.SetItemBounds</a></div><div class="ttdeci">def SetItemBounds</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00065">flowsizer.py:65</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_abf7f7e037485b352c3675522ae4e07c5"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#abf7f7e037485b352c3675522ae4e07c5">gui.flowsizer.FlowSizer.minVSpace</a></div><div class="ttdeci">minVSpace</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00018">flowsizer.py:18</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1ColorPanel_html_a08264627eca3dbc9942c996788d04b7c"><div class="ttname"><a href="../../d4/df3/classgui_1_1flowsizer_1_1ColorPanel.html#a08264627eca3dbc9942c996788d04b7c">gui.flowsizer.ColorPanel.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00075">flowsizer.py:75</a></div></div>
<div class="ttc" id="classgui_1_1flowsizer_1_1FlowSizer_html_a15ff9f7bdc89f91339983daac58876a5"><div class="ttname"><a href="../../d3/d22/classgui_1_1flowsizer_1_1FlowSizer.html#a15ff9f7bdc89f91339983daac58876a5">gui.flowsizer.FlowSizer._calcSizeAndPos</a></div><div class="ttdeci">def _calcSizeAndPos</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py_source.html#l00020">flowsizer.py:20</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_96a7eeec1342994a7cb0d7fe7902ae74.html">build</a></li><li class="navelem"><a class="el" href="../../dir_3740601ea11ece1a00f9273977396bc4.html">lib.linux-x86_64-2.7</a></li><li class="navelem"><a class="el" href="../../dir_5bcb0661a26d4ce62009196be9ab2e39.html">gui</a></li><li class="navelem"><a class="el" href="../../d1/d54/build_2lib_8linux-x86__64-2_87_2gui_2flowsizer_8py.html">flowsizer.py</a></li>
    <li class="footer">Generado el Domingo, 7 de Diciembre de 2014 18:59:47 para gui2py por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
